package com.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * 可插拔式的远程调用
 */
@EnableDiscoveryClient
@EnableFeignClients//开启Fegign注册功能
@SpringBootApplication
public class SpringCloudServiceConsumerApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringCloudServiceConsumerApplication.class, args);
	}
}
